package com.xucy.springboot.designmodel.creational.prototype;

/**
 * @Author xucy
 * @Date 2019-07-17 16:38
 * @Description
 **/

public class EmailUtil {

    public static void sendEmail(Email email){

        System.out.println("邮件头："+email.getEmailName()+"，邮件内容："+email.getEmailContent()
                    +",邮件地址："+email.getEmailAddress());
    }


    public static void saveEmailContent(Email email){
        System.out.println("邮件内容是："+email.getEmailContent());
    }
}
